//
//  FoundRmModel.swift
//  KkmhSwift
//  发现推荐 模型
//  Created by tenltrs on 2018/11/15.
//  Copyright © 2018 Tenltrs. All rights reserved.
//

import UIKit

@objcMembers class FoundRmBannerModel: NSObject {
    
    var target_app_url : String?
    
    var good_price : String?
    
    var sub_title : String?
    
    var special_list_url : String?
    
    var target_id : NSNumber?
    
    var pic : String?
    
    var type : NSNumber?
    
    var target_package_name : String?
    
    var hybrid_url : String?
    
    var target_web_url : String?
    
    var target_title : String?
    
    var id : NSNumber?
    
    var request_id : String?
    
    var good_alias : String?
    
    var chapter_count : NSNumber?
}

@objcMembers class FoundRmInfoModel: NSObject {
    
    var action_type : NSNumber?
    
    /// 功能块类型
    var item_type : NSNumber?
    
    var action : String?
    
    /// 标题
    var title : String?
    
    /// <#Description#>
    var show_login_view : Bool?
    
    /// 焦点图数组
    private var _banners : [FoundRmBannerModel]?
    var banners : [FoundRmBannerModel]?{
        set{
            _banners = FoundRmBannerModel.mj_objectArray(withKeyValuesArray: newValue) as? [FoundRmBannerModel]
        }
        get{
            return _banners
        }
    }
    
    /// 模块id
    var discovery_module_id : NSNumber?
    
    
    var more_flag : Bool?
    
    var style : NSNumber?
    
    var topics : [[String:Any]]?
}



@objcMembers class FoundRmModel: NSObject {

    var topic_click_action_type : String?
    
    /// 服务器时间
    var server_time : NSNumber?
    
    private var _infos : [FoundRmInfoModel]?
    var infos : [FoundRmInfoModel]?{
        set{
            _infos = FoundRmInfoModel.mj_objectArray(withKeyValuesArray: newValue) as? [FoundRmInfoModel]
        }
        get{
            return _infos
        }
    }
}
